﻿using System.IO;

namespace EvoGame.Core.Files
{
	public static partial class FileHandler
	{
		public abstract class File
		{
			protected FileInfo file;

			public File (string path)
			{
				this.file = new FileInfo (path);
			}

			protected virtual FileStream fileStream { get { return this.file.Open (FileMode.Open, FileAccess.Read, FileShare.Read); } }
			public abstract void Close ();
		}
	}
}